package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MoWxuserinfo;

import java.util.*;
public class MoWxuserinfoExample extends SgExample<MoWxuserinfoExample.Criteria> {
    public static final Class<MoWxuserinfo> beanClass = MoWxuserinfo.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn country;
    public static EntityColumn infoId;
    public static EntityColumn subscribeTime;
    public static EntityColumn city;
    public static EntityColumn openId;
    public static EntityColumn loged;
    public static EntityColumn sex;
    public static EntityColumn language;
    public static EntityColumn remark;
    public static EntityColumn userId;
    public static EntityColumn province;
    public static EntityColumn nickname;
    public static EntityColumn headimgurl;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        country = listMap.get("country");
        infoId = listMap.get("infoId");
        subscribeTime = listMap.get("subscribeTime");
        city = listMap.get("city");
        openId = listMap.get("openId");
        loged = listMap.get("loged");
        sex = listMap.get("sex");
        language = listMap.get("language");
        remark = listMap.get("remark");
        userId = listMap.get("userId");
        province = listMap.get("province");
        nickname = listMap.get("nickname");
        headimgurl = listMap.get("headimgurl");
        }

    public MoWxuserinfoExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MoWxuserinfoExample.Criteria createCriteriaInternal() {
        return new MoWxuserinfoExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MoWxuserinfoExample.Criteria andCountryIsNull() {
            return isNull(country);
        }

        public MoWxuserinfoExample.Criteria andCountryIsNotNull() {
            return isNotNull(country);
        }

        public MoWxuserinfoExample.Criteria andCountryEqualTo(String value) {
            return equalTo(country, value);
        }

        public MoWxuserinfoExample.Criteria andCountryNotEqualTo(String value) {
            return notEqualTo(country, value);
        }

        public MoWxuserinfoExample.Criteria andCountryGreaterThan(String value) {
            return greaterThan(country, value);
        }

        public MoWxuserinfoExample.Criteria andCountryGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(country, value);
        }

        public MoWxuserinfoExample.Criteria andCountryLessThan(String value) {
            return lessThan(country, value);
        }

        public MoWxuserinfoExample.Criteria andCountryLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(country, value);
        }

        public MoWxuserinfoExample.Criteria andCountryLike(String value) {
            return like(country, value);
        }

        public MoWxuserinfoExample.Criteria andCountryNotLike(String value) {
            return notLike(country, value);
        }

        public MoWxuserinfoExample.Criteria andCountryIn(List<String> values) {
            return in(country, values);
        }

        public MoWxuserinfoExample.Criteria andCountryNotIn(List<String> values) {
            return notIn(country, values);
        }

        public MoWxuserinfoExample.Criteria andCountryBetween(String value1, String value2) {
            return between(country, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andCountryNotBetween(String value1, String value2) {
            return notBetween(country, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andInfoIdIsNull() {
            return isNull(infoId);
        }

        public MoWxuserinfoExample.Criteria andInfoIdIsNotNull() {
            return isNotNull(infoId);
        }

        public MoWxuserinfoExample.Criteria andInfoIdEqualTo(Long value) {
            return equalTo(infoId, value);
        }

        public MoWxuserinfoExample.Criteria andInfoIdNotEqualTo(Long value) {
            return notEqualTo(infoId, value);
        }

        public MoWxuserinfoExample.Criteria andInfoIdGreaterThan(Long value) {
            return greaterThan(infoId, value);
        }

        public MoWxuserinfoExample.Criteria andInfoIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(infoId, value);
        }

        public MoWxuserinfoExample.Criteria andInfoIdLessThan(Long value) {
            return lessThan(infoId, value);
        }

        public MoWxuserinfoExample.Criteria andInfoIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(infoId, value);
        }

        public MoWxuserinfoExample.Criteria andInfoIdIn(List<Long> values) {
            return in(infoId, values);
        }

        public MoWxuserinfoExample.Criteria andInfoIdNotIn(List<Long> values) {
            return notIn(infoId, values);
        }

        public MoWxuserinfoExample.Criteria andInfoIdBetween(Long value1, Long value2) {
            return between(infoId, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andInfoIdNotBetween(Long value1, Long value2) {
            return notBetween(infoId, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andSubscribeTimeIsNull() {
            return isNull(subscribeTime);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeIsNotNull() {
            return isNotNull(subscribeTime);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeEqualTo(Date value) {
            return equalTo(subscribeTime, value);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeNotEqualTo(Date value) {
            return notEqualTo(subscribeTime, value);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeGreaterThan(Date value) {
            return greaterThan(subscribeTime, value);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(subscribeTime, value);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeLessThan(Date value) {
            return lessThan(subscribeTime, value);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(subscribeTime, value);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeIn(List<Date> values) {
            return in(subscribeTime, values);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeNotIn(List<Date> values) {
            return notIn(subscribeTime, values);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeBetween(Date value1, Date value2) {
            return between(subscribeTime, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andSubscribeTimeNotBetween(Date value1, Date value2) {
            return notBetween(subscribeTime, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andCityIsNull() {
            return isNull(city);
        }

        public MoWxuserinfoExample.Criteria andCityIsNotNull() {
            return isNotNull(city);
        }

        public MoWxuserinfoExample.Criteria andCityEqualTo(String value) {
            return equalTo(city, value);
        }

        public MoWxuserinfoExample.Criteria andCityNotEqualTo(String value) {
            return notEqualTo(city, value);
        }

        public MoWxuserinfoExample.Criteria andCityGreaterThan(String value) {
            return greaterThan(city, value);
        }

        public MoWxuserinfoExample.Criteria andCityGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(city, value);
        }

        public MoWxuserinfoExample.Criteria andCityLessThan(String value) {
            return lessThan(city, value);
        }

        public MoWxuserinfoExample.Criteria andCityLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(city, value);
        }

        public MoWxuserinfoExample.Criteria andCityLike(String value) {
            return like(city, value);
        }

        public MoWxuserinfoExample.Criteria andCityNotLike(String value) {
            return notLike(city, value);
        }

        public MoWxuserinfoExample.Criteria andCityIn(List<String> values) {
            return in(city, values);
        }

        public MoWxuserinfoExample.Criteria andCityNotIn(List<String> values) {
            return notIn(city, values);
        }

        public MoWxuserinfoExample.Criteria andCityBetween(String value1, String value2) {
            return between(city, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andCityNotBetween(String value1, String value2) {
            return notBetween(city, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andOpenIdIsNull() {
            return isNull(openId);
        }

        public MoWxuserinfoExample.Criteria andOpenIdIsNotNull() {
            return isNotNull(openId);
        }

        public MoWxuserinfoExample.Criteria andOpenIdEqualTo(String value) {
            return equalTo(openId, value);
        }

        public MoWxuserinfoExample.Criteria andOpenIdNotEqualTo(String value) {
            return notEqualTo(openId, value);
        }

        public MoWxuserinfoExample.Criteria andOpenIdGreaterThan(String value) {
            return greaterThan(openId, value);
        }

        public MoWxuserinfoExample.Criteria andOpenIdGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(openId, value);
        }

        public MoWxuserinfoExample.Criteria andOpenIdLessThan(String value) {
            return lessThan(openId, value);
        }

        public MoWxuserinfoExample.Criteria andOpenIdLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(openId, value);
        }

        public MoWxuserinfoExample.Criteria andOpenIdLike(String value) {
            return like(openId, value);
        }

        public MoWxuserinfoExample.Criteria andOpenIdNotLike(String value) {
            return notLike(openId, value);
        }

        public MoWxuserinfoExample.Criteria andOpenIdIn(List<String> values) {
            return in(openId, values);
        }

        public MoWxuserinfoExample.Criteria andOpenIdNotIn(List<String> values) {
            return notIn(openId, values);
        }

        public MoWxuserinfoExample.Criteria andOpenIdBetween(String value1, String value2) {
            return between(openId, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andOpenIdNotBetween(String value1, String value2) {
            return notBetween(openId, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andLogedIsNull() {
            return isNull(loged);
        }

        public MoWxuserinfoExample.Criteria andLogedIsNotNull() {
            return isNotNull(loged);
        }

        public MoWxuserinfoExample.Criteria andLogedEqualTo(Boolean value) {
            return equalTo(loged, value);
        }

        public MoWxuserinfoExample.Criteria andLogedNotEqualTo(Boolean value) {
            return notEqualTo(loged, value);
        }

        public MoWxuserinfoExample.Criteria andLogedGreaterThan(Boolean value) {
            return greaterThan(loged, value);
        }

        public MoWxuserinfoExample.Criteria andLogedGreaterThanOrEqualTo(Boolean value) {
            return greaterThanOrEqualTo(loged, value);
        }

        public MoWxuserinfoExample.Criteria andLogedLessThan(Boolean value) {
            return lessThan(loged, value);
        }

        public MoWxuserinfoExample.Criteria andLogedLessThanOrEqualTo(Boolean value) {
            return lessThanOrEqualTo(loged, value);
        }

        public MoWxuserinfoExample.Criteria andLogedIn(List<Boolean> values) {
            return in(loged, values);
        }

        public MoWxuserinfoExample.Criteria andLogedNotIn(List<Boolean> values) {
            return notIn(loged, values);
        }

        public MoWxuserinfoExample.Criteria andLogedBetween(Boolean value1, Boolean value2) {
            return between(loged, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andLogedNotBetween(Boolean value1, Boolean value2) {
            return notBetween(loged, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andSexIsNull() {
            return isNull(sex);
        }

        public MoWxuserinfoExample.Criteria andSexIsNotNull() {
            return isNotNull(sex);
        }

        public MoWxuserinfoExample.Criteria andSexEqualTo(Integer value) {
            return equalTo(sex, value);
        }

        public MoWxuserinfoExample.Criteria andSexNotEqualTo(Integer value) {
            return notEqualTo(sex, value);
        }

        public MoWxuserinfoExample.Criteria andSexGreaterThan(Integer value) {
            return greaterThan(sex, value);
        }

        public MoWxuserinfoExample.Criteria andSexGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(sex, value);
        }

        public MoWxuserinfoExample.Criteria andSexLessThan(Integer value) {
            return lessThan(sex, value);
        }

        public MoWxuserinfoExample.Criteria andSexLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(sex, value);
        }

        public MoWxuserinfoExample.Criteria andSexIn(List<Integer> values) {
            return in(sex, values);
        }

        public MoWxuserinfoExample.Criteria andSexNotIn(List<Integer> values) {
            return notIn(sex, values);
        }

        public MoWxuserinfoExample.Criteria andSexBetween(Integer value1, Integer value2) {
            return between(sex, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andSexNotBetween(Integer value1, Integer value2) {
            return notBetween(sex, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andLanguageIsNull() {
            return isNull(language);
        }

        public MoWxuserinfoExample.Criteria andLanguageIsNotNull() {
            return isNotNull(language);
        }

        public MoWxuserinfoExample.Criteria andLanguageEqualTo(String value) {
            return equalTo(language, value);
        }

        public MoWxuserinfoExample.Criteria andLanguageNotEqualTo(String value) {
            return notEqualTo(language, value);
        }

        public MoWxuserinfoExample.Criteria andLanguageGreaterThan(String value) {
            return greaterThan(language, value);
        }

        public MoWxuserinfoExample.Criteria andLanguageGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(language, value);
        }

        public MoWxuserinfoExample.Criteria andLanguageLessThan(String value) {
            return lessThan(language, value);
        }

        public MoWxuserinfoExample.Criteria andLanguageLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(language, value);
        }

        public MoWxuserinfoExample.Criteria andLanguageLike(String value) {
            return like(language, value);
        }

        public MoWxuserinfoExample.Criteria andLanguageNotLike(String value) {
            return notLike(language, value);
        }

        public MoWxuserinfoExample.Criteria andLanguageIn(List<String> values) {
            return in(language, values);
        }

        public MoWxuserinfoExample.Criteria andLanguageNotIn(List<String> values) {
            return notIn(language, values);
        }

        public MoWxuserinfoExample.Criteria andLanguageBetween(String value1, String value2) {
            return between(language, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andLanguageNotBetween(String value1, String value2) {
            return notBetween(language, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andRemarkIsNull() {
            return isNull(remark);
        }

        public MoWxuserinfoExample.Criteria andRemarkIsNotNull() {
            return isNotNull(remark);
        }

        public MoWxuserinfoExample.Criteria andRemarkEqualTo(String value) {
            return equalTo(remark, value);
        }

        public MoWxuserinfoExample.Criteria andRemarkNotEqualTo(String value) {
            return notEqualTo(remark, value);
        }

        public MoWxuserinfoExample.Criteria andRemarkGreaterThan(String value) {
            return greaterThan(remark, value);
        }

        public MoWxuserinfoExample.Criteria andRemarkGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(remark, value);
        }

        public MoWxuserinfoExample.Criteria andRemarkLessThan(String value) {
            return lessThan(remark, value);
        }

        public MoWxuserinfoExample.Criteria andRemarkLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(remark, value);
        }

        public MoWxuserinfoExample.Criteria andRemarkLike(String value) {
            return like(remark, value);
        }

        public MoWxuserinfoExample.Criteria andRemarkNotLike(String value) {
            return notLike(remark, value);
        }

        public MoWxuserinfoExample.Criteria andRemarkIn(List<String> values) {
            return in(remark, values);
        }

        public MoWxuserinfoExample.Criteria andRemarkNotIn(List<String> values) {
            return notIn(remark, values);
        }

        public MoWxuserinfoExample.Criteria andRemarkBetween(String value1, String value2) {
            return between(remark, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andRemarkNotBetween(String value1, String value2) {
            return notBetween(remark, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andUserIdIsNull() {
            return isNull(userId);
        }

        public MoWxuserinfoExample.Criteria andUserIdIsNotNull() {
            return isNotNull(userId);
        }

        public MoWxuserinfoExample.Criteria andUserIdEqualTo(Long value) {
            return equalTo(userId, value);
        }

        public MoWxuserinfoExample.Criteria andUserIdNotEqualTo(Long value) {
            return notEqualTo(userId, value);
        }

        public MoWxuserinfoExample.Criteria andUserIdGreaterThan(Long value) {
            return greaterThan(userId, value);
        }

        public MoWxuserinfoExample.Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(userId, value);
        }

        public MoWxuserinfoExample.Criteria andUserIdLessThan(Long value) {
            return lessThan(userId, value);
        }

        public MoWxuserinfoExample.Criteria andUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(userId, value);
        }

        public MoWxuserinfoExample.Criteria andUserIdIn(List<Long> values) {
            return in(userId, values);
        }

        public MoWxuserinfoExample.Criteria andUserIdNotIn(List<Long> values) {
            return notIn(userId, values);
        }

        public MoWxuserinfoExample.Criteria andUserIdBetween(Long value1, Long value2) {
            return between(userId, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andUserIdNotBetween(Long value1, Long value2) {
            return notBetween(userId, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andProvinceIsNull() {
            return isNull(province);
        }

        public MoWxuserinfoExample.Criteria andProvinceIsNotNull() {
            return isNotNull(province);
        }

        public MoWxuserinfoExample.Criteria andProvinceEqualTo(String value) {
            return equalTo(province, value);
        }

        public MoWxuserinfoExample.Criteria andProvinceNotEqualTo(String value) {
            return notEqualTo(province, value);
        }

        public MoWxuserinfoExample.Criteria andProvinceGreaterThan(String value) {
            return greaterThan(province, value);
        }

        public MoWxuserinfoExample.Criteria andProvinceGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(province, value);
        }

        public MoWxuserinfoExample.Criteria andProvinceLessThan(String value) {
            return lessThan(province, value);
        }

        public MoWxuserinfoExample.Criteria andProvinceLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(province, value);
        }

        public MoWxuserinfoExample.Criteria andProvinceLike(String value) {
            return like(province, value);
        }

        public MoWxuserinfoExample.Criteria andProvinceNotLike(String value) {
            return notLike(province, value);
        }

        public MoWxuserinfoExample.Criteria andProvinceIn(List<String> values) {
            return in(province, values);
        }

        public MoWxuserinfoExample.Criteria andProvinceNotIn(List<String> values) {
            return notIn(province, values);
        }

        public MoWxuserinfoExample.Criteria andProvinceBetween(String value1, String value2) {
            return between(province, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andProvinceNotBetween(String value1, String value2) {
            return notBetween(province, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andNicknameIsNull() {
            return isNull(nickname);
        }

        public MoWxuserinfoExample.Criteria andNicknameIsNotNull() {
            return isNotNull(nickname);
        }

        public MoWxuserinfoExample.Criteria andNicknameEqualTo(String value) {
            return equalTo(nickname, value);
        }

        public MoWxuserinfoExample.Criteria andNicknameNotEqualTo(String value) {
            return notEqualTo(nickname, value);
        }

        public MoWxuserinfoExample.Criteria andNicknameGreaterThan(String value) {
            return greaterThan(nickname, value);
        }

        public MoWxuserinfoExample.Criteria andNicknameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(nickname, value);
        }

        public MoWxuserinfoExample.Criteria andNicknameLessThan(String value) {
            return lessThan(nickname, value);
        }

        public MoWxuserinfoExample.Criteria andNicknameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(nickname, value);
        }

        public MoWxuserinfoExample.Criteria andNicknameLike(String value) {
            return like(nickname, value);
        }

        public MoWxuserinfoExample.Criteria andNicknameNotLike(String value) {
            return notLike(nickname, value);
        }

        public MoWxuserinfoExample.Criteria andNicknameIn(List<String> values) {
            return in(nickname, values);
        }

        public MoWxuserinfoExample.Criteria andNicknameNotIn(List<String> values) {
            return notIn(nickname, values);
        }

        public MoWxuserinfoExample.Criteria andNicknameBetween(String value1, String value2) {
            return between(nickname, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andNicknameNotBetween(String value1, String value2) {
            return notBetween(nickname, value1, value2);
        }
        public MoWxuserinfoExample.Criteria andHeadimgurlIsNull() {
            return isNull(headimgurl);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlIsNotNull() {
            return isNotNull(headimgurl);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlEqualTo(String value) {
            return equalTo(headimgurl, value);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlNotEqualTo(String value) {
            return notEqualTo(headimgurl, value);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlGreaterThan(String value) {
            return greaterThan(headimgurl, value);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(headimgurl, value);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlLessThan(String value) {
            return lessThan(headimgurl, value);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(headimgurl, value);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlLike(String value) {
            return like(headimgurl, value);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlNotLike(String value) {
            return notLike(headimgurl, value);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlIn(List<String> values) {
            return in(headimgurl, values);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlNotIn(List<String> values) {
            return notIn(headimgurl, values);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlBetween(String value1, String value2) {
            return between(headimgurl, value1, value2);
        }

        public MoWxuserinfoExample.Criteria andHeadimgurlNotBetween(String value1, String value2) {
            return notBetween(headimgurl, value1, value2);
        }
    }
}